<ion-header>

  <ion-navbar color="mainColor">
    <ion-title>个人中心</ion-title>
  </ion-navbar>

</ion-header>

<ion-content>
  <div class="user-card">
    <img src="./assets/img/sarah-avatar.png.jpeg" alt="">
    <span>{{ _name() }}</span>
  </div>
  <div class="user-group">
    <p>当前版本 <span float-right>v2.2</span></p>
    <p>版本更新 <a float-right (click)="goNewpage()">更新</a></p>
  </div>
  <div class="user-group">
    <p>上传设置
      <label float-right><input type="radio"  name="autoUpload"[id] ="noAuto" [value]="'noAuto'" [(ngModel)]="AutoSc" (change)="changeAutoSc(0)">手动上传</label>
      <label float-right><input type="radio" name="autoUpload" [id] ="Auto" [value]="'Auto'" [(ngModel)]="AutoSc"  (change)="changeAutoSc(1)">自动上传</label></p>
    <p>修改密码 <span (click)="goPassword()" float-right><ion-icon name="arrow-forward"></ion-icon></span></p>
    <p>注意事项 <span float-right (click) = notice()><ion-icon name="arrow-forward" ></ion-icon></span></p>
  </div>
  <div class="user-group">
    <p (click)="clean()" >清除系统缓存</p>
    <p (click)="out()">退出当前账号</p>
  </div>
</ion-content>
